package main

import (
	"fmt"
	"sort"
)

func main4() {
	num1 := []int{1, 3}
	num2 := []int{2}

	m1 := append(num1, num2...)
	fmt.Println(m1)

	sort.Sort(sort.IntSlice(m1))
	fmt.Println(m1)

	fmt.Printf("len(m1): %v\n", len(m1))

	num3 := []int{}
	num4 := []int{1}

	m2 := append(num3, num4...)
	fmt.Println(m2)

	num5 := []int{1}
	num6 := []int{}

	m3 := append(num5, num6...)
	fmt.Println(m3)
}
